#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_NpcBase.nanopb.h"
#ifndef MAX_NPCBASE_TRIGGERNPCDESC_NUM
#define MAX_NPCBASE_TRIGGERNPCDESC_NUM 163
#endif

class TriggerNpcDesc : public NFI_DESC_TEMPLATE_MACRO(TriggerNpcDesc, E_TriggerNpc, EOT_CONST_NPCBASE_TRIGGERNPCDESC_DESC_ID, MAX_NPCBASE_TRIGGERNPCDESC_NUM)
public:
	TriggerNpcDesc();
	virtual ~TriggerNpcDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
